package com.library.library.model.Identity;

import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: 杜習田
 * @Date: 2020/2/28 10:09
 * @Description:
 */
public interface KeepIdentityService<T> {
    T setIdentity(String identityString, T object, HttpServletRequest request);
    T getIdentity(String identityString,HttpServletRequest request);
    T delIdentity(String identityString,HttpServletRequest request);
    Boolean isIdentity(String identityString,HttpServletRequest request);
}
